package views
{
	import inerface.ISunTimePanel;
	
	import main.ViewSubBase;
	
	import panel.sunTime.SunTimePanel;
	
	public class SuntimeView extends ViewSubBase
	{
		private var _panel:ISunTimePanel;
		public function SuntimeView()
		{
			super();
		}
		
		public override function show():void
		{
			render();
		}
		
		protected override function render():void
		{
		  if(!_panel)
		  {
			  _panel = new SunTimePanel();
			  _panel.init(this.layout.stage,this.resourceLoader,this.lang,this.data.uri);
			  _panel.show();
		  }
		  this.addView(_panel);
		}
		
		public override function clear():void
		{
			
		}
		
		
	}
}